

import re

with open("./Beginner Guide to Python.txt") as fin:
	content = fin.read()

# print(content.split())
words = re.split(r"[\s.()-?]+", content)

import pandas as pd
print(pd.Series(words).value_counts()[:20])